package cn.itcast.service.impl;

import cn.itcast.bean.Admin;
import cn.itcast.mapper.AdminMapper;
import cn.itcast.service.AdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {

    @Override
    public Admin selectByName(String phone){
        return this.baseMapper.selectByName(phone);
    }
}
